Skip to content

chore: Initial work to add agent config schema#1741

Open
mvicknr wants to merge 15 commits into
mainfrom
mvick/agent-config-schema
Open

chore: Initial work to add agent config schema#1741
mvicknr wants to merge 15 commits into
mainfrom
mvick/agent-config-schema

Conversation

@mvicknr

@mvicknr mvicknr commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Overview

Adds a script to automatically generate and update a configuration schema for the agent. This PR has the initial schema generated from the script.

The script will automatically run on local build and on pushes. It will determine if there are config changes and if so, it will update the schema. On local, the dev should include these changes in their commit. On push, if the changes aren't already made in the schema, it will make the changes and add them to the PR. The schema version will be updated as part of the regular agent release.

See the readme in the schemaGeneration directory to understand how the schema is generated.

Testing

The agent includes a suite of tests which should be used to
verify your changes don't break existing functionality. These tests will run with
Github Actions when a pull request is made. More details on running the tests locally can be found in our
testing guidelines,
For most contributions it is strongly recommended to add additional tests which
exercise your changes.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 11 0 0 1.25s
⚠️ MARKDOWN markdownlint 8 0 23 0 1.67s
✅ PYTHON ruff 1046 0 0 0 1.08s
✅ PYTHON ruff-format 1046 0 0 0 0.5s
✅ YAML prettier 25 0 0 0 1.7s
✅ YAML v8r 25 0 0 6.34s
✅ YAML yamllint 25 0 0 0.76s

Detailed Issues

⚠️ MARKDOWN / markdownlint - 23 errors
.fleetControl/schemaGeneration/README.md:11:8 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:11:22 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:11:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:11:8 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:233:13 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:233:91 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:239:19 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:239:105 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:240:129 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:247:8 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:247:18 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:247:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:247:8 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:255:8 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:255:18 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:255:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:255:8 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:266:15 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:266:26 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:266:33 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:266:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:266:15 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:266:26 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@mergify mergify Bot added the tests-failing Tests failing in CI. label May 27, 2026
Co-Authored-By: Claude <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.09%. Comparing base (853d8cd) to head (ba5b4fb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1741      +/-   ##
==========================================
+ Coverage   82.07%   82.09%   +0.02%     
==========================================
  Files         215      215              
  Lines       26589    26589              
  Branches     4213     4213              
==========================================
+ Hits        21823    21829       +6     
+ Misses       3315     3312       -3     
+ Partials     1451     1448       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mergify mergify Bot removed the tests-failing Tests failing in CI. label Jun 9, 2026
mvicknr and others added 2 commits June 11, 2026 09:48
Pre-applies the YAML formatting that MegaLinter's YAML_PRETTIER would
otherwise auto-fix. The auto-commit step in mega-linter.yml uses the
default GITHUB_TOKEN, which cannot push changes to .github/workflows/*
files (GitHub blocks workflow modifications without the 'workflow' PAT
scope). Applying the fixes locally lets CI's auto-commit be a no-op.
Co-Authored-By: Claude <noreply@anthropic.com>
@mergify mergify Bot added the tests-failing Tests failing in CI. label Jun 11, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Jun 11, 2026
@mvicknr mvicknr marked this pull request as ready for review June 17, 2026 15:06
@mvicknr mvicknr requested a review from a team as a code owner June 17, 2026 15:06
@mergify mergify Bot added the tests-failing Tests failing in CI. label Jun 17, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Jun 17, 2026
@mergify mergify Bot added the tests-failing Tests failing in CI. label Jun 17, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants